FROM registry.getech.cn/poros/javabase:1.0.14
RUN mkdir /app
COPY libsapjco3.so /app/libsapjco3.so
RUN chmod a+x -R /app/libsapjco3.so

COPY app.jar /sap-interface.jar
CMD java $JAVA_OPTS $SKYWALKING_OPTS -jar -Djava.library.path=/app /sap-interface.jar